﻿<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="Generator" content="EditPlus®">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<title>清除浮动</title>
<style>
body,p,div{margin:0px; padding:0px;}
.box {
	width:900px;
	margin-top:10px;
	border:2px #03C solid;
	padding:10px;
}
.box div {
	padding:10px;
}
.layer01 {
	border:1px #F00 dashed;
	float:left;
}
.layer02 {
	border:1px #00F dashed;
}
.layer03 {
	border:1px #060 dashed;
	float:left;
}
.layer04 {
	clear:both;
}

</style>
</head>
<body>
<div class="box">
  <div class="layer01"><img src="img/course.jpg" /></div>
  <div class="layer02"><img src="img/photo.jpg" /></div>
  <div class="layer03"><img src="img/tx.jpg" /></div>
  <p class="layer04">这个P标签不进行浮动，请观察变化。duang~duang~duang~睁大眼睛了米有~<br/>
    这个P标签不进行浮动，请观察变化。duang~duang~duang~睁大眼睛了米有~<br/>
    这个P标签不进行浮动，请观察变化。duang~duang~duang~睁大眼睛了米有~<br/>
    这个P标签不进行浮动，请观察变化。duang~duang~duang~睁大眼睛了米有~</p>
  
</div>
</body>
</html>
